package com.xqboss.apps.vo.sys;

import com.xqboss.apps.enums.sys.SysAnnouncementMsgJumpEnum;
import com.xqboss.apps.enums.sys.SysAnnouncementMsgTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 公告消息表
 *
 * @author wangcong
 * @date 2023-08-31
 */
@Data
@ApiModel("公告消息Vo")
public class SysAnnouncementMsgVo {

    private Long id;

    @ApiModelProperty("分类id")
    private Long categoryId;

    @ApiModelProperty("消息标题")
    private String title;

    @ApiModelProperty("图片")
    private String img;

    @ApiModelProperty("文字描述")
    private String description;

    @ApiModelProperty("1文字,2图片")
    private SysAnnouncementMsgTypeEnum type;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("1app页面,2网页h5链接")
    private SysAnnouncementMsgJumpEnum jumpType;

    @ApiModelProperty("跳转内容")
    private String jumpContent;

    @ApiModelProperty("是否已读 0否,1是")
    private Integer isRead;

    @ApiModelProperty("上架时间")
    private LocalDateTime saleableTime;


}